package yf.mall.enums;

import lombok.Getter;


/**
 *
 *
 * @date Sat Sep 28 17:53:11 CST 2019
 */
@Getter
public enum MallOrderOrderTypeEnum {


    DELIVERY(0, "发货" ),


    TRANSFER(1, "转货" );


    int index;
    String value;

    MallOrderOrderTypeEnum(int index, String value) {
        this.index = index;
        this.value = value;
    }

    public static String indexOf(int idx) {
        return MallOrderOrderTypeEnum.values()[idx].getValue();
    }

}
